home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
gui
/
gtldv374.lha
/
GadUtil
/
Docs
/
AutoDocs
/
48.GU_SortList
< prev
next >
Wrap
Text File
|
1996-05-14
|
887b
|
31 lines
gadutil.library/GU_SortList gadutil.library/GU_SortList
NAME
GU_SortList -- Sorts all nodes in a list.
SYNOPSIS
GU_SortNode(list,slavelist)
A0 A1
VOID GU_SortList(struct List *, struct List *);
FUNCTION
Sorts all items an a list and optionally in a slave list.
The slave list option can be used eg. if you have a ListView
gadget that shows a number of filenames and another list
with the path-names to the files in the other list.
Note that the slavelist pointer must be NULL if not used.
INPUTS
list - A pointer to the list to sort
slavelist - A pointer to an optional slave list (or NULL).
NOTES
Written in assembler using Shell-sort, so it is quite fast..
SEE ALSO
GU_AddTail(), GU_ClearList(), GU_DetachList(), GU_AttachList()
GU_FindNode(), GU_NodeUp(), GU_NodeDown(), GU_NewList(), GU_CountNodes()